package com.zte.sys.login.dao;

import com.zte.sys.login.model.*;
import com.zte.util.OperatorLog;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository

public interface UserLoginDao {
    public LUsers detailOfUser(LUsers user);

    public LUsers detailOfUser2(LUsers user);


    public Permission detailOfPermission(LUsers user);

    public Module detailOfModules(Permission permission);

    public String getModuleOfId(String moduleName);

    public void insertJournal(Journal journal);

    List<Journal> queryLogs(QueryCondition queryCondition);

    public Module detailOfModules2(Journal journal);

    public String getUserOfId(String uname);

}
